package common.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import common.model.po.base.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 米泽鹏
 * @since 2024-01-13 下午 07:21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_update_log")
@ApiModel(value = "SysUpdateLog对象", description = "")
public class SysUpdateLog extends BasePo<SysUpdateLog> {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "标题")
	private String title;

	@ApiModelProperty(value = "内容")
	private String content;

	@ApiModelProperty(value = "发布时间")
	private Date releaseTime;

	@Override
	public Serializable pkVal() {
		return super.getId();
	}

}
